package com.example.dao;

import com.example.pojo.Roles_permissions;

import java.util.List;

public interface Roles_permissionsMapper {
    int deleteByPrimaryKey(int roles_permissionsnum);                 //通过主键删除

    int insert(Roles_permissions record);                             //添加

    int insertSelective(Roles_permissions record);                    //选择性添加

    Roles_permissions selectByPrimaryKey(int roles_permissionsnum);   //通过主键查看

    int updateByPrimaryKeySelective(Roles_permissions record);        //通过主键选择性修改

    int updateByPrimaryKey(Roles_permissions record);                 //通过主键修改

    List<Roles_permissions > selectByRoleName(String roleName);       //通过角色名查看
}